package com.issoft.studentresitor.service;

import com.issoft.studentresitor.domain.pojo.Notice;
import com.baomidou.mybatisplus.extension.service.IService;
import com.issoft.studentresitor.domain.pojo.Result;
import com.issoft.studentresitor.domain.query.NoticeQuery;
import com.issoft.studentresitor.domain.vo.NoticeVo;
import com.issoft.studentresitor.utils.PageResult;

import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author GJH
 * @since 2025-09-14
 */
public interface INoticeService extends IService<Notice> {

    PageResult<NoticeVo> queryNoticePage(NoticeQuery query);
    /**
     * 可选条件模糊查询
     * @param title
     * @param noticeType
     * @param publishTime
     * @return
     */
    List<NoticeVo> queryNotice(String title, String noticeType, LocalDateTime publishTime);



}
